package com.changgou.page.controller;

import com.changgou.page.service.PageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* @Author: 少迪
* @Date: Created in 2019-08-09 11:05
* @Description:
* @Version: 1.0
*/

@RestController
public class PageController {

    @Autowired
    private PageService pageService;

    @GetMapping("/createPage")
    public void createPage(String spuId){
        pageService.createPage( spuId );
    }

}
